package com.xhu.collegestudentrentalsystem.util.constant;

/**
 * @author zhu huilin
 * @date 2023/4/1 14:41
 */
public class EnumProperty {

    /**
     * 空字符串
     */
    public final static String EMPTY_STRING = "";

    /**
     * none字符串
     */
    public final static String STRING_NONE = "none";

    /**
     * 分号
     */
    public final static String SEMICOLON = ";";

    /**
     * 逗号
     */
    public final static String COMMA = ",";

    /**
     * SpringSecurity中添加的角色前缀名
     */
    public final static String ROLE_NAME = "ROLE";

    /**
     * 记住我功能的记住时间，24小时
     */
    public static int REMEMBER_EXPIRED_SECONDS = 60*60*60*24;

    /**
     * 默认时间为JWT失效时间 30分钟
     */
    public static int DEFAULT_EXPIRED_SECONDS = 1800;

    /**
     * 文件上传位置
     */
    public static interface fileUpload{
        public String HOUSE_SLIDE_URL = "static/assets/img/house";
        public String USER_HEAD_URL = "static/assets/img/user";
    }

    /**
     * 日期转换格式
     */
    public final static String DATA_TRANSFORM = "yyyy-MM-dd";

}
